package com.ytjj.qmyx.mall.mapper;

import com.ytjj.qmyx.mall.model.ProductActivitySpec;
import com.ytjj.qmyx.mall.model.ProductActivitySpecExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ProductActivitySpecMapper {
    long countByExample(ProductActivitySpecExample example);

    int deleteByExample(ProductActivitySpecExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ProductActivitySpec record);

    int insertSelective(ProductActivitySpec record);

    List<ProductActivitySpec> selectByExample(ProductActivitySpecExample example);

    ProductActivitySpec selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ProductActivitySpec record, @Param("example") ProductActivitySpecExample example);

    int updateByExample(@Param("record") ProductActivitySpec record, @Param("example") ProductActivitySpecExample example);

    int updateByPrimaryKeySelective(ProductActivitySpec record);

    int updateByPrimaryKey(ProductActivitySpec record);
}